package edu.cuit.avatar.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.HashSet;
import java.util.Set;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/29 9:57
 */
@Setter
@Getter
@Accessors(chain = true)
@ToString
public class Department implements Serializable {

    private static final long serialVersionUID = 5682245567081711598L;
    private Integer id;

    private String name;

    private LocalDate createDate;

    private String intro;

    /**
     * 关联关系: 一对多
     * 只作为课堂案例,实际应该进行分页加载
     */
    //Set<Student> students = new HashSet<>();
}
